<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2020/10/13
 * Time: 22:10
 */
namespace app\index\controller;

use app\BaseController;
use app\index\logic\SignLogic;
use think\facade\Request;

class Sign extends BaseController
{
    /*
     * 签到
     */
    public function create(){
        $signLogic = new SignLogic();
        success($signLogic->signIn());
    }
    /*
     * 获取签到次数
     */
    public function signNum(){
        $signLogic = new SignLogic();
        success($signLogic->getSignNum());
    }
}